package com.lmqb.bean;

import java.math.BigDecimal;
import java.util.Date;


/*
 * 还款明细
 * */
public class LmRepay {
    private String repayNo; //还款编号

    private String loanNo; //借款订单号

    private Integer userId; //用户ID

    private Byte currentStage;  //当前期数

    private Byte totalStage;  //总期数

    private BigDecimal loanCapital;  //应还本金

    private BigDecimal loanInterest;  //应还服务费

    private BigDecimal loanLatefee;  //应还滞纳金

    private Integer repayEndTime;  //还款截止日期

    private Short overdueDays;  //逾期天数

    private BigDecimal repayCapital;  //已还本金

    private BigDecimal repayInterest;  //已还服务费

    private BigDecimal repayLatefee;  //已还滞纳金

    private BigDecimal totalLatefee;  //总滞纳金

    private Integer couponId;  //优惠券ID

    private BigDecimal couponValue;  //优惠券金额

    private Integer repayYesTime;  //最后还款时间

    private Byte repayStatus;  //还款状态:[0待还款;1还款中;2还款成功;3提前还款]

    private Byte repayChannel;  //还款通道[0微信;1支付宝;2连连;]

    private Byte autoFlag;  //自动还款标志[0不是;1是;]
    
    private Date repayYesTimeD;  
    
    private Date repayEndTimeD;

    private String userName;
    
    private Date loanTime;//借款时间
    
    private String fenqi;//分期情况
    
    private String bankNumber;//银行卡号
    
    private String bankName;//银行名称
    
    private String zhangdan;//账单状态
    
    private String huankuan;//还款状态
    
    private BigDecimal loanMoney;//借款金额
    
    private String remark;
    
    private Short loandays;
    
    
    public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public BigDecimal getLoanMoney() {
		return loanMoney;
	}

	public void setLoanMoney(BigDecimal loanMoney) {
		this.loanMoney = loanMoney;
	}

	public String getFenqi() {
		return fenqi;
	}

	public void setFenqi(String fenqi) {
		this.fenqi = fenqi;
	}

	public String getBankNumber() {
		return bankNumber;
	}

	public void setBankNumber(String bankNumber) {
		this.bankNumber = bankNumber;
	}

	public String getBankName() {
		return bankName;
	}

	public void setBankName(String bankName) {
		this.bankName = bankName;
	}

	public String getZhangdan() {
		return zhangdan;
	}

	public void setZhangdan(String zhangdan) {
		this.zhangdan = zhangdan;
	}

	public String getHuankuan() {
		return huankuan;
	}

	public void setHuankuan(String huankuan) {
		this.huankuan = huankuan;
	}

	public Date getLoanTime() {
		return loanTime;
	}

	public void setLoanTime(Date loanTime) {
		this.loanTime = loanTime;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Date getRepayYesTimeD() {
		return repayYesTimeD;
	}

	public void setRepayYesTimeD(Date repayYesTimeD) {
		this.repayYesTimeD = repayYesTimeD;
	}

	public Date getRepayEndTimeD() {
		return repayEndTimeD;
	}

	public void setRepayEndTimeD(Date repayEndTimeD) {
		this.repayEndTimeD = repayEndTimeD;
	}

	public String getRepayNo() {
        return repayNo;
    }

    public void setRepayNo(String repayNo) {
        this.repayNo = repayNo == null ? null : repayNo.trim();
    }

    public String getLoanNo() {
        return loanNo;
    }

    public void setLoanNo(String loanNo) {
        this.loanNo = loanNo == null ? null : loanNo.trim();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Byte getCurrentStage() {
        return currentStage;
    }

    public void setCurrentStage(Byte currentStage) {
        this.currentStage = currentStage;
    }

    public Byte getTotalStage() {
        return totalStage;
    }

    public void setTotalStage(Byte totalStage) {
        this.totalStage = totalStage;
    }

    public BigDecimal getLoanCapital() {
        return loanCapital;
    }

    public void setLoanCapital(BigDecimal loanCapital) {
        this.loanCapital = loanCapital;
    }

    public BigDecimal getLoanInterest() {
        return loanInterest;
    }

    public void setLoanInterest(BigDecimal loanInterest) {
        this.loanInterest = loanInterest;
    }

    public BigDecimal getLoanLatefee() {
        return loanLatefee;
    }

    public void setLoanLatefee(BigDecimal loanLatefee) {
        this.loanLatefee = loanLatefee;
    }

    public Integer getRepayEndTime() {
        return repayEndTime;
    }

    public void setRepayEndTime(Integer repayEndTime) {
        this.repayEndTime = repayEndTime;
    }

    public Short getOverdueDays() {
        return overdueDays;
    }

    public void setOverdueDays(Short overdueDays) {
        this.overdueDays = overdueDays;
    }

    public BigDecimal getRepayCapital() {
        return repayCapital;
    }

    public void setRepayCapital(BigDecimal repayCapital) {
        this.repayCapital = repayCapital;
    }

    public BigDecimal getRepayInterest() {
        return repayInterest;
    }

    public void setRepayInterest(BigDecimal repayInterest) {
        this.repayInterest = repayInterest;
    }

    public BigDecimal getRepayLatefee() {
        return repayLatefee;
    }

    public void setRepayLatefee(BigDecimal repayLatefee) {
        this.repayLatefee = repayLatefee;
    }

    public BigDecimal getTotalLatefee() {
        return totalLatefee;
    }

    public void setTotalLatefee(BigDecimal totalLatefee) {
        this.totalLatefee = totalLatefee;
    }

    public Integer getCouponId() {
        return couponId;
    }

    public void setCouponId(Integer couponId) {
        this.couponId = couponId;
    }

    public BigDecimal getCouponValue() {
        return couponValue;
    }

    public void setCouponValue(BigDecimal couponValue) {
        this.couponValue = couponValue;
    }

    public Integer getRepayYesTime() {
        return repayYesTime;
    }

    public void setRepayYesTime(Integer repayYesTime) {
        this.repayYesTime = repayYesTime;
    }

    public Byte getRepayStatus() {
        return repayStatus;
    }

    public void setRepayStatus(Byte repayStatus) {
        this.repayStatus = repayStatus;
    }

    public Byte getRepayChannel() {
        return repayChannel;
    }

    public void setRepayChannel(Byte repayChannel) {
        this.repayChannel = repayChannel;
    }

    public Byte getAutoFlag() {
        return autoFlag;
    }

    public void setAutoFlag(Byte autoFlag) {
        this.autoFlag = autoFlag;
    }
    
    public Short getLoandays() {
		return loandays;
	}

	public void setLoandays(Short loandays) {
		this.loandays = loandays;
	}

	@Override
	public String toString() {
		return "LmRepay [repayNo=" + repayNo + ", loanNo=" + loanNo
				+ ", userId=" + userId + ", currentStage=" + currentStage
				+ ", totalStage=" + totalStage + ", loanCapital=" + loanCapital
				+ ", loanInterest=" + loanInterest + ", loanLatefee="
				+ loanLatefee + ", repayEndTime=" + repayEndTime
				+ ", overdueDays=" + overdueDays + ", repayCapital="
				+ repayCapital + ", repayInterest=" + repayInterest
				+ ", repayLatefee=" + repayLatefee + ", totalLatefee="
				+ totalLatefee + ", couponId=" + couponId + ", couponValue="
				+ couponValue + ", repayYesTime=" + repayYesTime
				+ ", repayStatus=" + repayStatus + ", repayChannel="
				+ repayChannel + ", autoFlag=" + autoFlag + ", repayYesTimeD="
				+ repayYesTimeD + ", repayEndTimeD=" + repayEndTimeD
				+ ", userName=" + userName + ", loanTime=" + loanTime
				+ ", fenqi=" + fenqi + ", bankNumber=" + bankNumber
				+ ", bankName=" + bankName + ", zhangdan=" + zhangdan
				+ ", huankuan=" + huankuan + ", loanMoney=" + loanMoney
				+ ", remark=" + remark + "]";
	}
    
    
}